package com.ara.x.retrofit.api;

import com.ara.account.bean.AccountBean;
import com.ara.common.kernel.bean.BaseBean;
import com.ara.x.constant.MainApiConstant;

import io.reactivex.rxjava3.core.Flowable;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Query;


/**
 * Created by XieXin on 2018/12/10.
 * API
 */
public interface MainApi {
    /**
     * 登录
     */
    @Multipart
    @POST(MainApiConstant.LOGIN)
    Flowable<BaseBean<AccountBean>> login(@Query("uuId") String uuid);

}
